.border-1px(@color) {
  position: relative;
  &:after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    border-top: 1px solid @color;
    width: 100%;
    content: '';
  }
}

.border-none() {
  &:after {
    display: none;
  }
}


.bg-image(@url) {
  background-image: url("../../components/header/@{url}@2x.png");
  @media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3) {
    background-image: url("../../components/header/@{url}@3x.png");
  }
}

.bg1-image(@url) {
  background-image: url("../../components/stars/@{url}@2x.png");
  @media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3) {
    background-image: url("../../components/stars/@{url}@3x.png");
  }
}

.bg2-image(@url) {
  background-image: url("../../components/goods/@{url}@2x.png");
  @media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3) {
    background-image: url("../../components/goods/@{url}@3x.png");
  }
}

.bg3-image(@url) {
  background-image: url("../../components/seller/@{url}@2x.png");
  @media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3) {
    background-image: url("../../components/seller/@{url}@3x.png");
  }
}
